<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
	<title>Cadastro de Usuários</title>
</head>

<body>
	<h1>Cadastro de Usuarios</h1>
	
	<hr/>
	<h:form>
		<h:messages />
		<h:panelGrid columns="2">
		
			<h:outputLabel value="Nome: " for="nome" />
			<h:inputText id="nome" label="nome" value="#{usuarioMB.usuario.nome}" rendered="true" />
			
			<h:outputLabel value="Email " for="email" />
			<h:inputText id="email" label="email" value="#{usuarioMB.usuario.email}" />
			
			<h:outputLabel value="Senha " for="senha" />
			<h:inputText id="senha" label="senha" value="#{usuarioMB.usuario.senha}" rendered="true" />
			
			<h:outputLabel value="Confirmar Senha " for="confirmarsenha" />
			<h:inputText id="confirmarsenha" label="confirmarsenha" value="#{usuarioMB.usuario.confirmaSenha}" rendered="true" />
			
			<h:outputText  />
			<h:commandButton action="#{usuarioMB.salvar}" value="Salvar" />
		
		
		</h:panelGrid>
		<hr/>
	
	</h:form>

</body>

	
</html>